package day3;

public class Varargs {

    public void test(int a,String...books){
        //books被当成数组处理
        for (String book:books){
            System.out.println(book);
        }

        System.out.println(a);
    }

    public  void run(){
        test(12,"php","java");
    }

}
